<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的订单 - 淘乐乐</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }

        body {
            background-color: #f5f5f5;
            color: #333;
        }

        /* 导航栏样式 */
        .main-nav {
            background: #ff3c3c;
            padding: 15px 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .nav-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            color: #fff;
            font-size: 24px;
            font-weight: bold;
            text-decoration: none;
        }

        /* 订单卡片样式 */
        .order-card {
            background: white;
            border-radius: 10px;
            margin: 20px 0;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .order-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        }

        .order-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .order-number {
            color: #666;
            font-size: 14px;
        }

        .order-status {
            color: #ff3c3c;
            font-weight: bold;
        }

        /* 订单商品样式 */
        .order-items {
            padding: 15px 0;
        }

        .order-item {
            display: grid;
            grid-template-columns: 100px 1fr 150px;
            gap: 20px;
            align-items: center;
            padding: 10px 0;
        }

        .item-image {
            width: 100px;
            height: 100px;
            border-radius: 8px;
            overflow: hidden;
        }

        .item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .item-info {
            flex-grow: 1;
        }

        .item-title {
            font-size: 16px;
            margin-bottom: 5px;
            color: #333;
        }

        .item-specs {
            font-size: 14px;
            color: #666;
        }

        .item-price {
            color: #ff3c3c;
            font-weight: bold;
            text-align: right;
        }

        /* 订单底部样式 */
        .order-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }

        .order-total {
            color: #666;
        }

        .total-price {
            color: #ff3c3c;
            font-size: 18px;
            font-weight: bold;
        }

        .order-actions {
            display: flex;
            gap: 10px;
        }

        .btn {
            padding: 8px 20px;
            border-radius: 20px;
            border: none;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background: #ff3c3c;
            color: white;
        }

        .btn-secondary {
            background: #f5f5f5;
            color: #666;
            border: 1px solid #ddd;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .btn-primary:hover {
            background: #ff6666;
        }

        .btn-secondary:hover {
            background: #eee;
        }

        /* 订单状态标签样式 */
        .order-status {
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 12px;
            background: rgba(255, 60, 60, 0.1);
        }

        /* 空订单状态 */
        .empty-orders {
            text-align: center;
            padding: 50px 0;
            color: #666;
        }

        .empty-orders i {
            font-size: 48px;
            color: #ddd;
            margin-bottom: 20px;
        }

        .empty-orders p {
            margin-bottom: 20px;
        }

        .shop-now-btn {
            display: inline-block;
            padding: 10px 30px;
            background: #ff3c3c;
            color: white;
            text-decoration: none;
            border-radius: 25px;
            transition: all 0.3s ease;
        }

        .shop-now-btn:hover {
            background: #ff6666;
            transform: translateY(-2px);
            box-shadow: 0 2px 10px rgba(255,60,60,0.2);
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="main-nav">
        <div class="container">
            <div class="nav-content">
                <a href="淘乐乐商城.html" class="logo">淘乐乐</a>
                <div class="user-info">
                    <span style="color: white;">我的订单</span>
                </div>
            </div>
        </div>
    </nav>

    <!-- 订单列表 -->
    <div class="container">
        <!-- 待付款订单 -->
        <div class="order-card">
            <div class="order-header">
                <span class="order-number">订单号：2024030801</span>
                <span class="order-status">待付款</span>
            </div>
            <div class="order-items">
                <div class="order-item">
                    <div class="item-image">
                        <img src="images/5.jpg" alt="iPhone 14 Pro Max">
                    </div>
                    <div class="item-info">
                        <div class="item-title">iPhone 14 Pro Max</div>
                        <div class="item-specs">深空黑色 256GB</div>
                    </div>
                    <div class="item-price">¥8999 × 1</div>
                </div>
            </div>
            <div class="order-footer">
                <div class="order-total">
                    共1件商品 合计：<span class="total-price">¥8999</span>
                </div>
                <div class="order-actions">
                    <button class="btn btn-secondary">取消订单</button>
                    <button class="btn btn-primary">立即付款</button>
                </div>
            </div>
        </div>

        <!-- 待发货订单 -->
        <div class="order-card">
            <div class="order-header">
                <span class="order-number">订单号：2024030802</span>
                <span class="order-status">待发货</span>
            </div>
            <div class="order-items">
                <div class="order-item">
                    <div class="item-image">
                        <img src="images/6.jpg" alt="MacBook Pro">
                    </div>
                    <div class="item-info">
                        <div class="item-title">MacBook Pro</div>
                        <div class="item-specs">M2芯片 16GB 512GB</div>
                    </div>
                    <div class="item-price">¥12999 × 1</div>
                </div>
            </div>
            <div class="order-footer">
                <div class="order-total">
                    共1件商品 合计：<span class="total-price">¥12999</span>
                </div>
                <div class="order-actions">
                    <button class="btn btn-secondary">查看物流</button>
                    <button class="btn btn-primary">提醒发货</button>
                </div>
            </div>
        </div>

        <!-- 待收货订单 -->
        <div class="order-card">
            <div class="order-header">
                <span class="order-number">订单号：2024030803</span>
                <span class="order-status">待收货</span>
            </div>
            <div class="order-items">
                <div class="order-item">
                    <div class="item-image">
                        <img src="images/7.jpg" alt="AirPods Pro">
                    </div>
                    <div class="item-info">
                        <div class="item-title">AirPods Pro</div>
                        <div class="item-specs">第二代 白色</div>
                    </div>
                    <div class="item-price">¥1999 × 1</div>
                </div>
            </div>
            <div class="order-footer">
                <div class="order-total">
                    共1件商品 合计：<span class="total-price">¥1999</span>
                </div>
                <div class="order-actions">
                    <button class="btn btn-secondary">查看物流</button>
                    <button class="btn btn-primary">确认收货</button>
                </div>
            </div>
        </div>

        <!-- 已完成订单 -->
        <div class="order-card">
            <div class="order-header">
                <span class="order-number">订单号：2024030804</span>
                <span class="order-status">已完成</span>
            </div>
            <div class="order-items">
                <div class="order-item">
                    <div class="item-image">
                        <img src="images/8.jpg" alt="iPad Air">
                    </div>
                    <div class="item-info">
                        <div class="item-title">iPad Air</div>
                        <div class="item-specs">天蓝色 256GB</div>
                    </div>
                    <div class="item-price">¥4999 × 1</div>
                </div>
            </div>
            <div class="order-footer">
                <div class="order-total">
                    共1件商品 合计：<span class="total-price">¥4999</span>
                </div>
                <div class="order-actions">
                    <button class="btn btn-secondary" onclick="location.href='个人中心.html'">查看详情</button>
                    <button class="btn btn-primary">评价商品</button>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 